package sg.edu.ntu.metaweb.pastry.messages;

import rice.p2p.commonapi.Id;
import rice.p2p.commonapi.Message;

public class MetawebMessage implements Message {

	Id senderID;
	Id targetID;
	private int requestID;
	
	public MetawebMessage(Id senderID, Id targetID, int requestID) {
		this.senderID = senderID;
		this.targetID = targetID;
		this.requestID = requestID;
	}
	
	public int getPriority() {
	    return Message.LOW_PRIORITY;
	}
	
	public Id getSenderID() {
		return this.senderID;
	}
	
	public Id getTargetID() {
		return this.targetID;
	}
	
	public int getRequestID() {
		return this.requestID;
	}
}
